package com.example.sources.modelView;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2016/9/29.
 */
public class ModelAndView {
    private  String viewName;
    private Map<String,String> viewMap = new HashMap<>();
    private Map<String,Object> objectMap= new HashMap<>();

    public String getViewName() {
        return viewName;
    }

    public void setViewName(String viewName) {
        this.viewName = viewName;
    }

    public Map<String, String> getViewMap() {
        return viewMap;
    }

    public void setViewMap(String key,String value) {
        viewMap.put(key,value);
    }

    public Map<String, Object> getObjectMap() {
        return objectMap;
    }

    public void setObjectMap(String key,Object obj) {
        objectMap.put(key,obj);
    }
}
